
package model;

/**
 *
 * @author Beto
 */
public class FuncaoAtivacao {

    public static double sigmoide(double valor) {
        double sigmoide = 1/(1 + Math.pow(Math.E,(-1)*(0.5 * valor)));
        return sigmoide;
    }

}
